package com.ctshk.rpc.starvip.dto.start_vip.transaction;

import com.ctshk.common.enums.Currency;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 *
 * </p>
 *
 * @author 李新科
 * @date 2021/6/29 10:23
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class TrainIntegralDTO implements Serializable {

    @ApiModelProperty(value = "剩余积分")
    private Long surplus = 0L;

    @ApiModelProperty(value = "可用积分")
    private Long available = 0L;

    @ApiModelProperty(value = "可抵扣金额")
    private BigDecimal deduction = BigDecimal.ZERO;

    @ApiModelProperty(value = "币种")
    private String currency = Currency.HKD.getCurrency();

    @ApiModelProperty(value = "预计可获得积分")
    private Long expectedObtain = 0L;
}
